﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Rotempco.Website.Logic;
using Rotempco.Core.Web.CRUD.Objects;
using Rotempco.Core.Web.CRUD.Interfaces;
using Rotempco.Core.Web.Logic;

namespace Rotempco.Website.MasterPages
{
    public partial class CRUDRestore : System.Web.UI.MasterPage, ICRUDRestore
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void SetDefaultPageContainer(PageListContainer detailPageContainer)
        {
            DetailsList.SetDetailsList(detailPageContainer);
        }

        protected void button_CancelClick(object sender, EventArgs e)
        {
            Response.Redirect(UrlLogic.GotoUrl());
        }
    }
}